<?php


namespace app\admin\model;
use think\Model;

class Wear extends Model
{
    protected $table = 'wear';

    public function getList($name)
    {
        return $this->select();
//        session('food_id', $name);
//        return $this->where('food_id', $name)->select();
    }
    public function addEmp($data)
    {
        $this->save($data);
    }
}
